Skip to content

[CALCITE-2194] Adding access configuration feature#647

Closed
ptrbojko wants to merge 1 commit intoapache:mainfrom
ptrbojko:CALCITE-2194
Closed

[CALCITE-2194] Adding access configuration feature#647
ptrbojko wants to merge 1 commit intoapache:mainfrom
ptrbojko:CALCITE-2194

Conversation

@ptrbojko
Copy link
Copy Markdown

@ptrbojko ptrbojko commented Mar 8, 2018

[CALCITE-2194] Adding access configuration feature

End user can define access level in json schema - see example in calcite-plus/chinook.json.
Each schema could be decorated with AuthorisationGuardFactory for guarding access to tables from schema.
Principal based factory is provided - with this factory user can map each user to set of SqlAccessEnum values. User
is determined from created Connection (property user).

To SqlAccessEnum new INDIRECT_SELECT is added to allow creation of schemas which can be accessed indirectly from views
from other schemas.

[CALCITE-2208] Workaround on the bug with TableView expansion and validation

Now case sensivity for MaterializedViewTable.MATERIALIZATION_CONNECTION is disabled

@ptrbojko
Copy link
Copy Markdown
Author

ptrbojko commented Mar 8, 2018

Travis triggers tests on calcite plus little different then on my machine - this is a cause of a fail check. Will investigate.

@ptrbojko
Copy link
Copy Markdown
Author

ptrbojko commented Mar 8, 2018

JDK8 build passed ok.

End user can define access level in json schema - see example in calcite-plus/chinook.json.
Each schema could be decorated with AuthorisationGuardFactory for guarding access to tables from schema.
Principal based factory is provided - with this factory user can map each user to set of SqlAccessEnum values. User
is determined from created Connection (property user).

To SqlAccessEnum new INDIRECT_SELECT is added to allow creation of schemas which can be accessed indirectly from views
from other schemas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant